import axios from 'axios';
// 获取菜单数据
let menus = (params) => axios.get('/menus', {params});
// 获取采单列表
let menusList = (params) => axios.get('/menusList', {params});
// 获取logo
let logo=(params)=>axios.get('/logo',{params})
// 消息提醒
let jnotice=(params)=>axios.get('/jnotice',{params})
// 首页头部
let header=(params)=>axios.get('/home/header',{params})
// 首页订单图表
let order=(params)=>axios.get('/home/order',{params})
// 首页用户图表
let user=(params)=>axios.get('/home/user',{params})
// 首页商品交易额排行
let rank=(params)=>axios.get('/home/rank',{params})
export default{
    menus,
    menusList,
    logo,
    jnotice,
    header,
    order,
    user,
    rank
}